package com.ruoyi.project.modules.businessSystem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;
import java.util.Set;

/**
 * 业务系统对象 t_business_system
 * 
 * @author smallrain
 * @date 2021-11-06
 */
public class BusinessSystem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 业务系统ID */
    private Long id;

    /** 业务系统名称 */
    @Excel(name = "业务系统名称")
    private String businessSystemName;

    /** 业务系统描述 */
    @Excel(name = "业务系统描述")
    private String businessSystemDescription;

    /** 分类节点ID */
    @Excel(name = "分类节点ID")
    private Long categoryId;

    private String categoryName;

    private String categoryCode;

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    private List<Long> tableIds;

    private Set<Long> businessSystemIds;

    public Set<Long> getBusinessSystemIds() {
        return businessSystemIds;
    }

    public void setBusinessSystemIds(Set<Long> businessSystemIds) {
        this.businessSystemIds = businessSystemIds;
    }

    public List<Long> getTableIds() {
        return tableIds;
    }

    public void setTableIds(List<Long> tableIds) {
        this.tableIds = tableIds;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    /** 角色状态（0正常 1停用） */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessSystemName(String businessSystemName) 
    {
        this.businessSystemName = businessSystemName;
    }

    public String getBusinessSystemName() 
    {
        return businessSystemName;
    }
    public void setBusinessSystemDescription(String businessSystemDescription) 
    {
        this.businessSystemDescription = businessSystemDescription;
    }

    public String getBusinessSystemDescription() 
    {
        return businessSystemDescription;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessSystemName", getBusinessSystemName())
            .append("businessSystemDescription", getBusinessSystemDescription())
            .append("categoryId", getCategoryId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
